package server.pojo;

import java.util.Map;

/**
 * Mapper 其实指的是 Service,每个 Service 下面有自己的 Host 主机集合
 */
public class Mapper {

    // Service 中的 Host
    private Map<String, Host> hostMap;

    public Mapper(Map<String, Host> hostMap) {
        this.hostMap = hostMap;
    }

    public Map<String, Host> getHostMap() {
        return hostMap;
    }

    public void setHostMap(Map<String, Host> hostMap) {
        this.hostMap = hostMap;
    }
}
